home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’91 / AliasThis! / AliasThisƒ / src / SampleDefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-22  |  573 b   |  34 lines  |  [TEXT/MPS ]

  1. #ifndef __SAMPLEDEFS__
  2. #define __SAMPLEDEFS__
  3.  
  4. #ifndef __EVENTS__
  5. #include <Events.h>
  6. #endif
  7.  
  8. typedef struct  {
  9.     OSErr    err;
  10.     EventRecord    *event;
  11.     char    *message;
  12. } ErrorRec, *ErrorRecPtr;
  13.  
  14. typedef struct  {
  15.     short txFont;
  16.     Style txFace;                    /*txFace is unpacked byte but push as short*/
  17.     char filler;
  18.     short txSize;
  19. } PortFontInfo;
  20.  
  21.  
  22. typedef unsigned long uint32;
  23. typedef unsigned short uint16;
  24. typedef    long    int32;
  25. typedef short    int16;
  26.  
  27. struct WindowData{
  28.     Boolean stopped;
  29. };
  30.  
  31. typedef struct WindowData WindowData, *WindoDataPtr, **WindowDataHandle;
  32.  
  33.  
  34. #endif __SAMPLEDEFS__